package com.yinkgh.mybatis.common.dao;

import java.util.List;

public interface BaseDao<T> {
	int deleteByPrimaryKey(Long id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(Long id);
    
    List<T> selectListByPrimaryKey(T record);
    
    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
    
    public int insertBatch(List<T> records);

    

    
}
